﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Entity.Dto.AutoEquipmentDto;
using WCS_Entity.Model;
using WCS_Service.Enums;
using WCS_Utility.Enums;

namespace WCS_Service.DomianService.Interface
{
    public interface IComControl
    {
        event Action<int, ConEquipmentState,string> ConnectEquipmentChange;
        Task<bool> CreateComServiceAsync(ComInitParaModel comPara,bool isManual);
        Task<List<RunAutoEquipmentInfoDto>> GetAllRunServiceInfoAsync();
        Task<bool> ServiceCreateCheckAsync(int id);
        Task<IComBaseDomainManage> QueryServiceBaseId(int id);
        Task<IComBaseDomainManage> QueryServiceBaseTypeNumber(string eqType, string eqNumber);
        Task<bool> RemoveTargetServiceAsync(int id);
    }
}
